package com.twinkle.dao;

import com.twinkle.bean.Contacts;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContactsDao {
    List<Contacts> selectContactsLike(@Param("user_id") Integer user_id, @Param("contactsName") String para_contactsName);

    List<Contacts> selectContactsAll(@Param("user_id") Integer user_id);

    int selectContactsOne();

    int insertContacts(@Param("contacts") Contacts contacts);

    int deleteContacts(@Param("contactsId") Integer para_contactsId);

    int updateContacts(@Param("contacts") Contacts contacts);
}
